<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Test</title>
    <script type="text/javascript" src="jquery-1.7.1.min.js"></script>
    <script type="text/javascript">

        hello(1);

        function hello(num) {
            alert('hi:' + num);
        }



    </script>
</head>
<body>
<input id="btn" value="button" type="button" onclick="hello(2)">
</body>
</html>